CF/BF - Remove usage of USE_FC based on PR discussion decisions. Add
[betaflight.git] / docs / Board - SPRacingF3MINI.md
blob1dc2053de9f6b9a84056f214cb7965f471397fe9
1 # Board - Seriously Pro SP Racing F3 MINI
3 The Seriously Pro Racing F3 Mini (SPRacingF3Mini) is the second flight controller board designed specifically for Cleanflight.  It is the only FC that supports all the latest Cleanflight features and the ONLY mini board with a full feature set that can also be mounted in mini frames as well as in standard 36x36mm mounting holes.  With the new transponder feature it is the only truly race ready board available.
5 It's full feature set, size and weight makes it perfect for incorporating in sub-250g drones to comply with USA drone regulations.
7 Purchasing boards directly from SeriouslyPro / SP Racing and official retailers helps fund Cleanflight development, it's the reason the Seriously Pro boards exist!  Official retailers are always listed on the SeriouslyPro.com website.
9 Full details available on the website, here:
11 http://seriouslypro.com/spracingf3mini
13 ## Hardware Features
15 * Next-generation STM32 F3 processor with hardware floating point unit for efficient flight calculations and faster ARM-Cortex M4 core.
16 * MicroSD-Card socket for black box flight log recorder - optimize your tuning and see the results of your setup without guesswork.
17 * Race transponder built in - just turn up at a race and have your lap times recorded.
18 * Onboard regulator (BEC) for powering the FC, receiver and small servos.
19 * Features the latest Accelerometer, Gyro and Mag/Compass and Baro/Altitude sensor technology.
20 * 2 Buttons for binding Spektrum Satellite receivers, activating USB bootloader mode or resetting the configuration.  More future uses coming!
21 * Wire up using using pin headers for all major connections for excellent crash-durability.  Use either right-angled or straight pin-headers.
22 * No compromise I/O. Use all the features all the time; e.g. Connect your USB + OSD + SmartPort + SBus + GPS + LED Strip + Battery Monitoring + Sonar + 8 motors - all at the same time!
23 * 8 PWM output lines for ESCs and Servos. Arranged for easy wiring on standard pin headers.
24 * Supports direct connection of SBus, SumH, SumD, Spektrum1024/2048, XBus receivers. No external inverters required (built-in).
25 * Supports direct connection of 3.3v Spektrum Satellite receivers via 3 pin through-hole JST-ZH connector.
26 * Supports direct connection of 1-5 channel Parallel PWM receivers *1. 
27 * Dedicated PPM receiver input.
28 * 3 Serial Ports - NOT shared with the USB socket.
29 * Telemetry port (via pin header or USART2 JST-SH socket).
30 * Micro USB socket. 
31 * Dedicated output for programmable LEDs - great for orientation, racing and night flying. (Currently mutually exclusive with the Transponder).
32 * Dedicated I2C port for connection of OLED display without needing flight battery.
33 * Battery monitoring for voltage and current.
34 * RSSI monitoring (analog or PWM).
35 * Buzzer port for audible warnings and notifications.
36 * Developer friendly debugging port (SWD) and boot mode selection, unbrickable bootloader.
37 * Symmetrical design for a super tidy wiring.
38 * JST-SH sockets only for I2C/UART2 and SWD.
39 * Barometer mounted on the bottom of the board for easy wind isolation.
40 * Flashing via USB or serial port.
41 * Stackable design - perfect for integrating with OSDs and power distribution boards.
42 * Modular design - the core of the board measures 36x22mm but has the ability to be mounted using standard 30.5mm mounting holes.
43 * LEDs for 3v, 5v and Status for easy diagnostics.
44 * Copper-etched Cleanflight and #RB logos.
47 *1 - PWM receiver must use 3.3v outputs.  Works only in multirotor mode.  Uses motor outputs 5-8 and PPM pin as RC 1-5 inputs.
49 ## Pinouts
51 Full pinout details are available in the manual, here:
53 http://seriouslypro.com/spracingf3mini#manual
55 #### Main Section
57 The main section is the square part of the board with the 30.5mm mounting holes.
59 ### Left Side IO (Front to Back)
61 | Pin | Function                     | Notes                                        |
62 | --- | ---------------------------- | -------------------------------------------- |
63 | 1   | RX3                          | Square Pad                                   |
64 | 2   | TX3                          | Round Pad                                    |
65 | 3   | PWM8 / SoftSerial 1 RX / RC4 | Square Pad                                   |
66 | 4   | PWM7 / SoftSerial 1 TX / RC3 | Square Pad                                   |
68 To the left of both PWM7 and PWM8 there are 2 more pins - left to right: GND, VIN, PWM7/8.
69 To the right of RX3 there are two more though holes.  Use RX3 and the 2 holes to attach a JST-ZH connector for a Spektrum Satellite 3v receiver.
71 ### Right Side IO (Front to Back)
73 | Pin | Function       | Notes                                        |
74 | --- | -------------- | -------------------------------------------- |
75 | 1   | RSSI           | Round Pad / PWM                              |
76 | 2   | CURRENT        | Round Pad                                    |
77 | 3   | PWM6 / RC2     | Square Pad                                   |
78 | 4   | PWM5 / RC1     | Square Pad                                   |
79 | 5   | T1             | Round Pad                                    |
80 | 6   | R1             | Round Pad                                    |
81 | 7   | 5v             | Round Pad                                    |
82 | 8   | GND            | Round Pad                                    |
83 | 9   | 5v             | Round Pad                                    |
84 | 10  | PPM            | Square Pad                                   |
86 To the right of both PWM5 and PWM6 there are 2 more pins - left to right: PWM5/6, VIN, GND.
88 Pins 8/9/10 allow a standard 3 pin cable to be attached for PPM receivers.
89 Pins 8/7/6 allow a standard 3 pin cable to be attached for SBus/SerialRX receivers (5v).
91 ### Top IO (Left to Right)
93 | Pin | Function       | Notes                                        |
94 | --- | -------------- | -------------------------------------------- |
95 | 1   | BATTERY -      | Round Pad                                    |
96 | 2   | BATTERY +      | Square Pad                                   |
98 25V Absolute Maximum.  No reverse polarity protection!
100 ### Bottom Left IO (Left to Right)
102 For Telemetry / LED / IR.
104 A - Bottom Row (Towards board edge)
105 B - Top Row (Towards board center)
107 | Pin | Row | Function       | Notes                                        |
108 | --- | --- | -------------- | -------------------------------------------- |
109 | 1   | A   | TELEMETRY / T2 | Square Pad                                   |
110 | 2   | A   | GND            | Round Pad                                    |
111 | 3   | B   | VIN            | Square Pad (Suface)                          |
112 | 4   | B   | LED_STRIP/IR   | Round Pad                                    |
114 ### Bottom Right IO (Left to Right)
116 For Buzzer.
118 A - Bottom Row (Towards board edge)
119 B - Top Row (Towards board center)
121 | Pin | Row | Function       | Notes                                        |
122 | --- | --- | -------------- | -------------------------------------------- |
123 | 1   | A   | BUZZER -       | Round Pad                                    |
124 | 2   | A   | GND            | Square Pad                                   |
125 | 3   | B   | 5v             | Round Pad (For Buzzer)                       |
126 | 4   | B   | 3.3v           | Square Pad (Surface)                         |
128 ### Bottom Center IO (Left to Right)
130 For ESC / Servos.
132 A - Bottom Row (Towards board edge)
133 B - Middle Row 
134 C - Top Row (Towards board center)
136 | Pin | Row | Function       | Notes                                        |
137 | --- | --- | -------------- | -------------------------------------------- |
138 | 1   | A   | GND            | Round Pad                                    |
139 | 2   | A   | GND            | Round Pad                                    |
140 | 3   | A   | GND            | Round Pad                                    |
141 | 4   | A   | GND            | Round Pad                                    |
142 | 1   | B   | VIN            | Round Pad                                    |
143 | 2   | B   | VIN            | Round Pad                                    |
144 | 3   | B   | VIN            | Round Pad                                    |
145 | 4   | B   | VIN            | Round Pad                                    |
146 | 1   | C   | PWM1           | Square Pad (Suface)                          |
147 | 2   | C   | PWM2           | Round Pad                                    |
148 | 3   | C   | PWM3           | Round Pad                                    |
149 | 4   | C   | PWM4           | Round Pad                                    |
151 ### Bottom IO (Underside, left to right)
153 | Pad  | Function       | Notes                                        |
154 | ---- | -------------- | -------------------------------------------- |
155 | TRIG | SONAR TRIGGER  | Also Switch B, 3.3v signal only              |
156 | ECHO | SONAR ECHO     | Also Switch A, 3.3v signal only              |
158 ### UART2
160 | Pin | Function       | Notes                                        |
161 | --- | -------------- | -------------------------------------------- |
162 | 1   | Ground         |                                              |
163 | 2   | 5v             | Voltage as-supplied by BEC OR USB, always on |
164 | 3   | TXD            |                                              |
165 | 4   | RXD            |                                              |
167 ### I2C
169 | Pin | Function       | Notes                                        |
170 | --- | -------------- | -------------------------------------------- |
171 | 1   | Ground         |                                              |
172 | 2   | 5v             | Voltage as-supplied by BEC OR USB, always on |
173 | 3   | SCL            |                                              |
174 | 4   | SDA            |                                              |
176 ### SWD
178 The port cannot be used at the same time as UART2.
180 | Pin | Function       | Notes                                        |
181 | --- | -------------- | -------------------------------------------- |
182 | 1   | Ground         |                                              |
183 | 2   | NRST           |                                              |
184 | 3   | SWDIO          |                                              |
185 | 4   | SWDCLK         |                                              |
188 ### Transponder Section.
190 The transponder section of the board is where up to two IR leds (supplied) can be connected for the race timing transponder system.  It can left attached, stacked above or below the main board or detached and connected via a cable, as appropriate.
192 The transponder section has a small enable jumper which must be bridged with solder before using the IR transponder feature. 
194 #### Bottom Left and Bottom Right Transponder IO (Left to Right)
196 For LED / IR.  The 4 pins arranged in a square by the mounting holes of the transponder board have the same pinouts on the left and right hand sides of the board.  They are the same so that a 4 pin cable can be attached either side when relocating the transponder section.
198 A - Bottom Row (Towards board edge)
199 B - Top Row (Towards board center)
201 | Pin | Row | Function       | Notes                                        |
202 | --- | --- | -------------- | -------------------------------------------- |
203 | 1   | A   | N/C            | Square Pad                                   |
204 | 2   | A   | GND            | Round Pad                                    |
205 | 3   | B   | 5v             | Round Pad                                    |
206 | 4   | B   | LED_STRIP/IR   | Round Pad                                    |
208 ### Bottom Left and Bottom Right IR
210 There are two, two pin holes on the left and right of the transponder section either side of some surface mount components. They are for connecting up to two IR leds.
211 A - Bottom Row (Towards board edge)
212 B - Top Row (Towards board center)
214 | Pin | Row | Function       | Notes                                        |
215 | --- | --- | -------------- | -------------------------------------------- |
216 | 1   | A   | IR+            | Round Pad                                    |
217 | 2   | B   | IR-            | Square Pad                                   |
219 Note: The silk screen on early boards have IR+ and IR- transposed.  Connect as above regardless of silkscreen.
221 ### Switch Section.
223 On the bottom of the switch section there are 4 pads.  The switch section can be relocated and reconnected to the main section via a 4 way cable.
225 | Pad On Switch Section | Pad on main section |
226 | --------------------- | ------------------- |
227 | A                     | ECHO                |
228 | B                     | TRIG                |
229 | GND                   | Any GND             |
230 | 3v3                   | Any 3.3v            |